package com.zdkj.subway.st.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zdkj.subway.st.entity.SwTkWhiteCard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SwTkWhiteCardMapper extends BaseMapper<SwTkWhiteCard> {

    /**
     * @param page
     * @param query
     * @return
     */
    IPage<SwTkWhiteCard> pageSelect(Page page, @Param(Constants.WRAPPER) Wrapper query);

    List<SwTkWhiteCard> listSelect(@Param("ids") List<Integer> ids);
}
